From 30a66b967e3fec1ae68c17f050cba738468e1d4a Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Sat, 10 Sep 2022 23:05:13 +0100 Subject: [PATCH] git-thrd_current =================================================================== Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-thrd_current.diff --- sysdeps/htl/thrd_current.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/htl/thrd_current.c b/sysdeps/htl/thrd_current.c index eecb86af8..dbd318cb4 100644 --- a/sysdeps/htl/thrd_current.c +++ b/sysdeps/htl/thrd_current.c @@ -24,7 +24,7 @@ thrd_t thrd_current (void) { - if (__pthread_threads) + if (&__pthread_threads && __pthread_threads) return (thrd_t) __pthread_self (); return (thrd_t) 0; -- 2.30.2